-
Home
-
Hotel Booking Lite
-
3.9.4
-
Code
-
Classes
- AbstractCoupon
Total Complexity |
54 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
300 |
Lines of code |
112 |
Logical lines of code |
57 |
Comment lines |
133 |
Methods |
21 |
Properties |
13 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
53 |
13 |
17 |
isValidForBookingContents() |
A |
51 |
11 |
26 |
validate() |
A |
57 |
9 |
15 |
isExceedUsageLimit() |
S |
79 |
2 |
3 |
isApplicableForRoomType() |
S |
78 |
2 |
3 |
isExpired() |
S |
78 |
2 |
3 |
getMaxNights() |
S |
83 |
1 |
3 |
getUsageCount() |
S |
82 |
1 |
3 |
isPublished() |
S |
80 |
1 |
3 |
getUsageLimit() |
S |
83 |
1 |
3 |
getMinNights() |
S |
83 |
1 |
3 |
getId() |
S |
83 |
1 |
3 |
getCheckOutDateBefore() |
S |
83 |
1 |
3 |
getCheckInDateAfter() |
S |
83 |
1 |
3 |
getRoomTypes() |
S |
83 |
1 |
3 |
getExpirationDate() |
S |
83 |
1 |
3 |
getAmount() |
S |
83 |
1 |
3 |
getDescription() |
S |
83 |
1 |
3 |
getCode() |
S |
83 |
1 |
3 |
getStatus() |
S |
83 |
1 |
3 |
increaseUsageCount() |
S |
82 |
1 |
3 |